#ifndef __MYGATEWAY_H__
#define __MYGATEWAY_H__

#include "framework.h"

class CMyGateway : public CFramework
{
public:
	 CMyGateway();
	~CMyGateway();
public:
	virtual BOOL OnCreateServer(HOSTSTRUCTS& hosts__);
	virtual BOOL OnCreateClient(HOSTSTRUCTS& hosts__);
	virtual BOOL OnConnected(const HOSTSTRUCT& host__);
	virtual void OnExecuteMessage(const xuwn::MESSAGE& message);
	virtual BOOL OnRecvData(const HOSTSTRUCT& host__, xuwn::MESSAGE& msg);
};
#endif